package com.wn.mapper;

import com.wn.ov.DraRecordOv;
import com.wn.pojo.DraRecord;

import java.util.List;

public interface DraRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DraRecord record);

    int insertSelective(DraRecord record);

    DraRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DraRecord record);

    int updateByPrimaryKey(DraRecord record);

    //确认退药
    int updateStatus(DraRecord draRecord);


    //取消退药
    int updateStatus2(DraRecord draRecord);

    //查询所有
    List<DraRecordOv> selectAll();

    //高级检索
    List<DraRecordOv> superSearch(String superSearchKeyWord);
}